package com.woniuxy.carlife.carlifeorderweb.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
*@ClassName:Refound
*@Description:
*@author qk
*@date 2021/4/7 20:09
**/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_refound")
@ApiModel(value="Refound对象", description="")
public class Refound implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "售后申请id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private String oid;

    @ApiModelProperty(value = "实际付款金额")
    private BigDecimal finalPrice;

    @ApiModelProperty(value = "实际退款金额")
    private BigDecimal refoundPrice;

    @ApiModelProperty(value = "是否退货")
    private Integer refundProduct;

    private String cause;

    private String img;

    private Integer handle;

    private String way;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;


}
